package org.lewis.demo.prop;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "wechat.offiaccount")
public class OAProperties {

    private String appId;
    private String appSecret;
    private final Url url = new Url();

    @Data
    public static class Url {
        private String getAccessToken;
    }

}
